//
//  NvProduceDlgViewController.h
//  NvSellerShow
//
//  Created by dx on 17/1/18.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import "NvRadiusUIView.h"
#import "NvPlaySlider.h"
#import "NvsLiveWindow.h"
#import "NvProduceTemplateCollectionViewCell.h"
#import "Utils.h"
#import "NvProcedureDlgViewController.h"

//模板选择界面
@interface NvProduceDlgViewController : UIViewController<UICollectionViewDataSource, UICollectionViewDelegate>

@property (weak, nonatomic) IBOutlet UIView *playCotrolView;

//视频模式
@property (nonatomic, assign) NvSSVideoCreateScale editmode;

@property (nonatomic, assign) BOOL isViewIn;

@property (strong, nonatomic) AVPlayer *player;

@property (weak, nonatomic) IBOutlet NvsLiveWindow *container;
@property (weak, nonatomic) IBOutlet UIButton *playOrPause;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@property (weak, nonatomic) IBOutlet UILabel *totalTimeLabel;

@property (weak, nonatomic) IBOutlet NvPlaySlider *slider;

@property (weak, nonatomic) IBOutlet UIButton *produceBtn;

#pragma mark - CollectionView

#pragma mark - Actions

- (IBAction)produceBtnTouchInSide:(id)sender;
- (IBAction)playClick:(UIButton *)sender;

- (IBAction)sliderTouchDown:(id)sender;
- (IBAction)sliderTouchUpInside:(id)sender;

- (IBAction)sliderValueChanged:(id)sender;


@end
